import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import http from '../http'
import 'vant/lib/index.css'
import '@/assets/style.css'
import {
  List,
  Tabs,
  Tab,
  ActionSheet,
  Toast,
  Field,
  CellGroup,
  Icon,
  Uploader,
  Dialog,
  Divider
} from 'vant'
Vue.prototype.$msg = Toast
Vue.prototype.$http = http
Vue.use(Field)
Vue.use(CellGroup)
Vue.use(Icon)
Vue.use(Uploader)
Vue.use(Dialog)
Vue.use(ActionSheet)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(List)
Vue.use(Divider)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
